package de.clapp.data;

import java.io.Serializable;

public class Tisch implements Serializable
{
    /**
     * 
     */
    private static final long serialVersionUID = -1574598779718476180L;

    private int tischID = -1 ;

    private boolean raucher;

    private String qrcode;
    
    public boolean IsNewItem()
    {
        return this.tischID == -1;
    }

    public int getTischID()
    {
        return tischID;
    }

    public void setTischID(int tischID)
    {
        this.tischID = tischID;
    }

    public boolean isRaucher()
    {
        return raucher;
    }

    public void setRaucher(boolean raucher)
    {
        this.raucher = raucher;
    }

    public String getQrcode()
    {
        return qrcode;
    }

    public void setQrcode(String qrcode)
    {
        this.qrcode = qrcode;
    }
    
    public String toString()
    {
        return this.qrcode;
    }
}
